Skip to content

feat: add filter support on query results (#33) - #69

Closed
Xenon010101 wants to merge 1 commit into
qascade:mainfrom
Xenon010101:feat/33-filter-support
Closed

feat: add filter support on query results (#33)#69
Xenon010101 wants to merge 1 commit into
qascade:mainfrom
Xenon010101:feat/33-filter-support

Conversation

@Xenon010101

Copy link
Copy Markdown

What

Adds filter and sort capabilities to the search results TUI, allowing users to narrow results by video quality and reorder by seed count.

Changes

  • Quality parsing: Extracts resolution (4K, 1080p, 720p, 480p, 360p) from torrent names in the 1337x scraper
  • Movie model: New \Quality\ field, \FilterValue()\ returns searchable text for the built-in /\ filter
  • Description: Now shows quality alongside Uploaded/Size/Seeds
  • Quick-filter keys:
    • \1\ — show only 1080p results
    • \2\ — show only 720p results
    • \3\ — show only 4K results
    • \

- Parse video quality from torrent name (4K, 1080p, 720p, 480p, 360p) in scraper

- Add Quality field to Movie and implement FilterValue() for text search

- Show quality in description line

- Quick-filter keys: 1 (1080p), 2 (720p), 3 (4K), 0 (show all)

- Sort by seeds with 's' key

- Clear all filters with esc

- Status bar shows active filter state

Closes #33

Signed-off-by: Xenon010101 <xenon010101@users.noreply.github.com>
@Xenon010101 Xenon010101 closed this by deleting the head repository Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant